Shortest Path Circuitry